#ifndef RECT_H_
#define RECT_H_

#include "PrimitiveObject.h"
#include "Transformation.h"

class Rect : public PrimitiveObject
{
public:
	Rect(TiXmlElement *elem);
	virtual ~Rect(void) {}

	// Atributes
	Coord2 point1, point2;
	
	// Methods
	void displayElement();

	// Class Atributes
	static ConcreteElementLoader<Rect> *loader;

	// Class Methods
	static string Value() { return "rectangle"; }
};

#endif